<h1>Listing wimps</h1>

<table>
  <tr>
    <th>Name</th>
  </tr>

<% for wimp in @wimps %>
  <tr>
    <td><%=h wimp.name %></td>
    <td><%= link_to 'Show', wimp %></td>
    <td><%= link_to 'Edit', edit_wimp_path(wimp) %></td>
    <td><%= link_to 'Destroy', wimp, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New wimp', new_wimp_path %>
